package org.zju.demo.service.intf;

import org.zju.demo.model.UserProduct;

import java.util.List;

/**
 * Created by admin on 2015/8/27.
 */
public interface UserProductIntf {
    public List<UserProduct> findByUserId(int userId);
    public List<UserProduct> findByProductId(int productId);
    public List<UserProduct> getProductLastNRecords(int productId, int n);
}
